<template>
  <section class="Selector__container">
    <div v-for="(item, index) in items" :key="index">
      <selector-item :item="item">
        <slot :item="item" />
      </selector-item>
    </div>
  </section>
</template>

<script>
import SelectorItem from "./SelectorItem.vue";

export default {
  components: { SelectorItem },
  props: {
    items: {
      type: Array,
      default: () => [],
    },
  },
};
</script>

<style lang="scss" scoped>
.Selector__container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  // overflow: hidden;
}
</style>